<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>查询所有城市</h1>
<table border=1>
	<tr><td>序号</td><td>城市</td><td>所属国家编码</td></tr>
	<c:forEach items="${city}" var="c">
		<tr><td>${c.id}</td><td>${c.name}<td>${c.countrycode}</td></td>
		</tr>
	</c:forEach>
	
</table>
</body>
</html>